<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Commerce Office</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- CSS -->
    <link href="<?php echo base_url();?>assets/css/bootstrap.css" rel="stylesheet">
    <style type="text/css">

      /* Sticky footer styles
      -------------------------------------------------- */
      html,
      body {
        height: 100%;
        /* The html and body elements cannot have any padding or margin. */
      }

      /* Wrapper for page content to push down footer */
      #wrap {
        min-height: 100%;
        height: auto !important;
        height: 100%;
        /* Negative indent footer by it's height */
        margin: 0 auto -60px;
      }

      /* Set the fixed height of the footer here */
      #push,
      #footer {
        height: 60px;
      }
      #footer {
        background-color: #f5f5f5;
      }

      /* Lastly, apply responsive CSS fixes as necessary */
      @media (max-width: 767px) {
        #footer {
          margin-left: -20px;
          margin-right: -20px;
          padding-left: 20px;
          padding-right: 20px;
        }
      }

      /* Custom page CSS
      -------------------------------------------------- */
      /* Not required for template or sticky footer method. */

      #wrap > .container {
        padding-top: 60px;
      }
      .container .credit {
        margin: 20px 0;
      }
      code {
        font-size: 80%;
      }
      
      .form-signin {
        max-width: 400px;
        padding: 19px 29px 29px;
        margin: 50px auto;
        background-color: #fff;
        border: 1px solid #e5e5e5;
        -webkit-border-radius: 5px;
           -moz-border-radius: 5px;
                border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
                box-shadow: 0 1px 2px rgba(0,0,0,.05);
      }
      .form-signin .form-signin-heading,
      .form-signin .checkbox {
        margin-bottom: 10px;
      }
      .form-signin input[type="text"],
      .form-signin input[type="password"] {
        height: auto;
        padding: 7px 9px;
      }
      hr{
		margin: 15px 0;
		border: 0;
		border-top: 1px solid #EEE;
		border-bottom: 1px solid #FFF;
		}

    </style>
    <link href="<?php echo base_url();?>assets/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="<?php echo base_url();?>assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="shortcut icon" href="<?php echo base_url();?>assets/image/icon.png">
    
  </head>

  <body onload="document.form.login.focus();">


    <!-- Part 1: Wrap all page content here -->
    <div id="wrap">

      <!-- Fixed navbar -->
      <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
          <div class="container">
            <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="brand" href="#">Commerce Office</a>
            <div class="nav-collapse collapse">
              <!--<ul class="nav navbar-form pull-right">
                <li><a href="#">Home</a></li>
                <li><a href="<?php echo site_url('auth/register');?>">Register</a></li>             
              </ul>-->
            </div><!--/.nav-collapse -->
          </div>
        </div>
      </div>

			<div class="container">  
			</div>
			<div class="container main">
				<?php
                $email = array(
                    'name'	=> 'email',
                    'id'	=> 'email',
                    'value'	=> set_value('email'),
                    'maxlength'	=> 80,
                    'size'	=> 30,
                );
                ?>
                <?php echo form_open($this->uri->uri_string()); ?>
                <table>
                    <tr>
                        <td><?php echo form_label('Email Address', $email['id']); ?></td>
                        <td><?php echo form_input($email); ?></td>
                        <td style="color: red;"><?php echo form_error($email['name']); ?><?php echo isset($errors[$email['name']])?$errors[$email['name']]:''; ?></td>
                    </tr>
                </table>
                <?php echo form_submit('send', 'Send', 'class="btn btn-primary"'); ?>
                <?php echo form_close(); ?>
			</div>